<%@ page language="java" pageEncoding="UTF-8" contentType="text/html;charset=UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<html>
            <head>
                        <title>Middle</title>
                        <base href="<%=basePath%>">
                        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
                        <SCRIPT LANGUAGE="JavaScript">
                                    var i=0;
                                    function changecol(){
                                                if (i==0){
                                                            closecol()
                                                } else {
                                                            opencol()
                                                }
                                    }
                                    function closecol(){
                                                top.centerFrame.cols='0%,2%,*'
                                                moveImg.src="resource/img/imgopen.gif";
                                                moveImg.alt="Open Navigate Bar";
                                                i=1;
                                    }
                                    function opencol(){
                                                top.centerFrame.cols='22%,2%,*';
                                                moveImg.src="resource/img/imgclose.gif";
                                                moveImg.alt="Close Navigate Bar";
                                                i=0;
                                    }
                        </SCRIPT>
            </head>
            <body background="resource/img/bar.gif" style="overflow: hidden">
                        <table width="100%" border="0" height="100%" align="center">
                                    <tr>
                                                <td>
                                                </td>
                                    </tr>
                                    <tr>
                                                <td><a href="javascript:changecol();" title="hide or show navi bar"><img name="moveImg" src="resource/img/imgclose.gif" width="6" height="34" border="0"></a></td>
                                    </tr>
                                    <tr>
                                                <td>
                                                </td>
                                    </tr>
                        </table>
            </body>
</html>